package com.ruoyi.basicsys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小区管理对象 basic_community
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class BasicCommunity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 小区编号 */
    private Long id;

    /** 小区名字 */
    @Excel(name = "小区名字")
    private String communityName;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Long administratorsId;

    /** 管理员电话 */
    @Excel(name = "管理员电话")
    private String administratorsPhone;

    /** 管理员名字 */
    @Excel(name = "管理员名字")
    private String administratorsName;

    /** 小区地址 */
    @Excel(name = "小区地址")
    private String communityAddress;

    /** 状态分为三种类型：0表示未检测；1表示检测中 ；2表示停止检测 */
    @Excel(name = "状态分为三种类型：0表示未检测；1表示检测中 ；2表示停止检测")
    private Long communityStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setAdministratorsId(Long administratorsId) 
    {
        this.administratorsId = administratorsId;
    }

    public Long getAdministratorsId() 
    {
        return administratorsId;
    }
    public void setAdministratorsPhone(String administratorsPhone) 
    {
        this.administratorsPhone = administratorsPhone;
    }

    public String getAdministratorsPhone() 
    {
        return administratorsPhone;
    }
    public void setAdministratorsName(String administratorsName) 
    {
        this.administratorsName = administratorsName;
    }

    public String getAdministratorsName() 
    {
        return administratorsName;
    }
    public void setCommunityAddress(String communityAddress) 
    {
        this.communityAddress = communityAddress;
    }

    public String getCommunityAddress() 
    {
        return communityAddress;
    }
    public void setCommunityStatus(Long communityStatus) 
    {
        this.communityStatus = communityStatus;
    }

    public Long getCommunityStatus() 
    {
        return communityStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityName", getCommunityName())
            .append("administratorsId", getAdministratorsId())
            .append("administratorsPhone", getAdministratorsPhone())
            .append("administratorsName", getAdministratorsName())
            .append("communityAddress", getCommunityAddress())
            .append("communityStatus", getCommunityStatus())
            .toString();
    }
}
